package com.qzsoft.zhjd.asphalt.modules.asphaltdata.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName AsphaltDataEntity
 * @Description 沥青数据
 * @author linhuawei
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("n_asphalt_data")
public class AsphaltDataEntity {

    /**
     * 数据主键
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 机构主键
     */
    private String baseCode;

    /**
     * 机构主键
     *
     */
    private String deptPkid;

    /**
     * 项目主键
     */
    private String projectId;

    /**
     * 拌和站主键
     */
    private String stationCode;

    /**
     * 级配类型
     */
    private String matchType;

    /**
     * 配方名称
     */
    private String matchName;

    /**
     * 配方编号
     */
    private String matchCode;

    /**
     * 出料时间
     */
    private Date dischargeTime;

    /**
     * 出料温度
     */
    private BigDecimal dischargeTemperature;

    /**
     * 溜槽温度
     */
    private BigDecimal sluiceTemperature;

    /**
     * 盘重
     */
    private BigDecimal batchWeight;

    /**
     * 搅拌时长
     */
    private Integer mixingDuration;

    /**
     * 沥青温度//成品料温
     */
    private BigDecimal asphaltTemperature;

    /**
     * 沥青温度
     */
    private BigDecimal lqTemperature;

    /**
     * 骨料温度
     */
    private BigDecimal glTemperature;

    /**
     * 油石比
     */
    private BigDecimal asphaltAggregateRatio;

    /**
     * 原始数据主键
     */
    private String originalId;

    /**
     * 入库时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

    private Integer batch;

}
